<table>
    <thead>
        <tr>
	   	    <g:sortableColumn property="id" title="Id" titleKey="workflowHistory.id" />
	   	    <g:sortableColumn property="objectName" title="Object Name" titleKey="workflowHistory.objectName" />
	   	    <g:sortableColumn property="objectId" title="Object Id" titleKey="workflowHistory.objectId" />
	   	    <th><g:message code="workflowHistory.step" default="Step" /></th>
	   	    <g:sortableColumn property="status" title="Status" titleKey="workflowHistory.status" />
	   	    <g:sortableColumn property="description" title="Description" titleKey="workflowHistory.description" />
        </tr>
    </thead>
    <tbody>
    <g:each in="${workflowHistoryInstanceList}" status="i" var="workflowHistoryInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${workflowHistoryInstance.id}">${fieldValue(bean: workflowHistoryInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: workflowHistoryInstance, field: "objectName")}</td>
            <td>${fieldValue(bean: workflowHistoryInstance, field: "objectId")}</td>
            <td>${fieldValue(bean: workflowHistoryInstance, field: "step")}</td>
            <td>${fieldValue(bean: workflowHistoryInstance, field: "status")}</td>
            <td>${fieldValue(bean: workflowHistoryInstance, field: "description")}</td>
        </tr>
    </g:each>
    </tbody>
</table>